package com.itboye.zhujia.adapter;

import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.itboye.zhujia.R;
import com.itboye.zhujia.bean.OrderQueryModel;
import com.itboye.zhujia.bean.OrderQueryModel.OrderList;
import com.itboye.zhujia.bean.ResultEntity;
import com.itboye.zhujia.support.commonadapter.MutiplyCommonAdapter;
import com.itboye.zhujia.support.commonadapter.ViewHolder;
import com.itboye.zhujia.util.ByAlert;
import com.itboye.zhujia.util.LoadingDialog;

/***
 * 待收货：查看物流、申请售后、确认收货 待付款：取消订单、去支付 待评价：去评价、查看物流 待发货：申请售后 交易关闭：无按钮
 * 
 * @author dsawe
 * 
 */
public class QianYueAdapter extends
		MutiplyCommonAdapter<OrderQueryModel.OrderList> implements Observer {
	private List<OrderQueryModel.OrderList> orderQueryModel;

	public QianYueAdapter(Context context, List<OrderList> datas,
			int... layoutId) {
		super(context, datas, layoutId);
		this.orderQueryModel = datas;
		// TODO Auto-generated constructor stub
	}

	@Override
	public void update(Observable observable, Object data) {
		// TODO Auto-generated method stub

	}

	@Override
	public int getItemViewType(int position) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void getItemPosition(int position) {
		// TODO Auto-generated method stub

	}

	@Override
	public void convert(ViewHolder holder, OrderList t, int type, int position) {
		// TODO Auto-generated method stub

	}

	// OrderPresenter orderPresenter;

}
